Rmisc/[tmp]convert.d.to.logodds.R

#' @export
convert.d.to.logodds <- function(d) {
  if (!is.numeric(d) || (length(d) > 1)) {
    stop("The 'd' argument is not a single numeric value!");
  }
  return(d * (pi / sqrt(3)));
}
wviechtb/escalc documentation built on Jan. 9, 2020, 4:14 p.m.